package com.mall4j.cloud.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall4j.cloud.product.model.ResourceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * 资源表
 *
 * @author yangjs
 * @email catalpa65@163.com
 * @date 2023-02-22 17:17:33
 */
@Mapper
public interface ResourceMapper extends BaseMapper<ResourceEntity> {

    Set<String> getAllErpIdList(@Param("list") Set<String> temIdList);

    void updateBatchbyErpId(@Param("list") List<ResourceEntity> updateList);

    void saveList(@Param("list") List<ResourceEntity> saveList);
}
